package com.xx.system.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xx.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


/**
 * 通知公告-记录对象 sys_notice_log
 *
 * @author anqi
 * @date 2024-08-24
 */
@Data
@TableName(value = "sys_notice_log")
@ApiModel(description ="通知公告-记录对象" )
public class SysNoticeLog {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 公告ID */
    @Excel(name = "公告ID")
    @ApiModelProperty(value = "公告ID")
    private Long noticeId;

    /** 用户唯一标识 */
    @Excel(name = "用户唯一标识")
    @ApiModelProperty(value = "用户唯一标识")
    private String userId;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
